<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<shiro:hasPermission name="ext:livebroadcast:list">
    <input type="radio" id="radioBase" onclick="location.href='list.do?stat=1';"<c:if
            test="${stat eq '1'}"> checked="checked"</c:if>/><label for="radioBase"><s:message
        code="site.live.state1"/></label>
</shiro:hasPermission>
<shiro:hasPermission name="ext:livebroadcast:subscribe_List">
    <input type="radio" id="radioWatermark" onclick="location.href='list.do?stat=0';"<c:if
            test="${stat eq '0'}"> checked="checked"</c:if>/><label for="radioWatermark"><s:message
        code="site.live.state2"/></label>
</shiro:hasPermission>
<shiro:hasPermission name="ext:livebroadcast:lookback_List">
    <input type="radio" id="radioCustom" onclick="location.href='list.do?stat=2';"<c:if
            test="${stat eq '2'}"> checked="checked"</c:if>/><label for="radioCustom"><s:message
        code="site.live.state3"/></label>
</shiro:hasPermission>
<script type="text/javascript">
    $("#radio").buttonset();
</script>
